package luoyuhang.mapper;

import luoyuhang.bean.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ShoppingCartMapper {

    @Select("select * from shopping_cart where user_id=#{user_id}")
    List<ShoppingCart> findByUserId(String user_id);
}
